﻿#include "Common.h"
#include <stddef.h>
CCommon* CCommon::pThis = NULL;
int CCommon::g_nScreenW = 0;
int CCommon::g_nScreenH = 0;
QString CCommon::strAppDir = "";
QFile* CCommon::gLog = NULL;

CCommon::CCommon(void)
{
   m_pIniFile = NULL;
   m_pHttpProc = NULL;
}

CCommon::~CCommon(void)
{

}

CCommon* CCommon::Instance()
{
    if(pThis == NULL)
    {
        pThis = new CCommon();
    }
    return pThis;
}

void CCommon::Uninstance()
{
    if(pThis != NULL)
    {
        delete pThis;
        pThis = NULL;
    }
}
